const axios=require("axios")


const downImgUtils={}

downImgUtils.downQrCodeImg= async function (imgUrl){
    let response = await axios({
        method:'get',
        url:imgUrl,
        headers: {'Content-Type': 'image/png'},
        responseType:'arraybuffer',
        withCredentials: true})
    return response;

}

module.exports = downImgUtils;
